package com.ht.service.student.impl;

import com.ht.bean.student.educationStu;
import com.ht.dao.student.educationStuMapper;
import com.ht.service.student.educationMapperService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author X-Mr
 * @date 2020/6/23 19:19
 */
@Service
public class educationMapperServiceImpl implements educationMapperService {
    @Resource
    private educationStuMapper educationStuMapper;

    @Override
    public List<educationStu> allStuEducation(Integer studid) {
        return educationStuMapper.allStuEducation(studid);
    }

    @Override
    public educationStu byEducationStuid(Integer eid) {
        return educationStuMapper.byEducationStuid(eid);
    }

    @Override
    public int getTotalRow(Integer studid) {
        return educationStuMapper.getTotalRow(studid);
    }

    @Override
    public int insert(educationStu educationStu) {
        return educationStuMapper.insert(educationStu);
    }

    @Override
    public int updateByPrimaryKey(educationStu educationStu) {
        return educationStuMapper.updateByPrimaryKey(educationStu);
    }

    @Override
    public int deleteByPrimaryKey(Integer eid) {
        return educationStuMapper.deleteByPrimaryKey(eid);
    }
}
